#pragma once
#include <QDialog>

class QGroupBox;
class QHBoxLayout;
class QLineEdit;
class QComboBox;
class SystemSettingsDlg :
    public QDialog
{
public:
    SystemSettingsDlg(QWidget *parent = nullptr);
    ~SystemSettingsDlg();

    bool initUI();


protected:


    void initCamParam();
    QGroupBox* createCamGroupBox(QWidget* parent);
    QGroupBox* createSysSetGroupBox(QWidget* parent);
    QGroupBox* createDebugGroupBox(QWidget* parent);
    QGroupBox* createAIGroupBox(QWidget* parent);
    

    // 创建：QLabel+QLineEdit+QLabel组合，返回水平布局
    // lineEditObjName为对象名称
    QLineEdit* createLineEditComb(QString lab, QString lab2, QHBoxLayout*& hLyt);
    QComboBox* createlineComboxComb(QString lab, QStringList comboxItems, QHBoxLayout*& hLyt);

private:

};

